package com.hknc.btscale.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class SaveGoods {
    //  必须设置一个自增长ID，不用管它
    @Id(autoincrement = true)
    public Long id;
    private String goodsImg;
    private String unit;
    private int stallId;
    private String maxGoodsPrice;
    private int merchantId;
    private int goodsId;
    private String goodsPrice;
    @Unique
    private String plu;
    private String stallNo;
    private String goodsName;
    private int marketId;
    private String indexNo;
    private int isSendSuccess;

    @Generated(hash = 1429029336)
    public SaveGoods(Long id, String goodsImg, String unit, int stallId,
            String maxGoodsPrice, int merchantId, int goodsId, String goodsPrice,
            String plu, String stallNo, String goodsName, int marketId,
            String indexNo, int isSendSuccess) {
        this.id = id;
        this.goodsImg = goodsImg;
        this.unit = unit;
        this.stallId = stallId;
        this.maxGoodsPrice = maxGoodsPrice;
        this.merchantId = merchantId;
        this.goodsId = goodsId;
        this.goodsPrice = goodsPrice;
        this.plu = plu;
        this.stallNo = stallNo;
        this.goodsName = goodsName;
        this.marketId = marketId;
        this.indexNo = indexNo;
        this.isSendSuccess = isSendSuccess;
    }

    @Generated(hash = 1472157984)
    public SaveGoods() {
    }

    public String getIndexNo() {
        return indexNo;
    }

    public void setIndexNo(String indexNo) {
        this.indexNo = indexNo;
    }

    public int getIsSendSuccess() {
        return isSendSuccess;
    }

    public void setIsSendSuccess(int isSendSuccess) {
        this.isSendSuccess = isSendSuccess;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getStallId() {
        return stallId;
    }

    public void setStallId(int stallId) {
        this.stallId = stallId;
    }

    public String getMaxGoodsPrice() {
        return maxGoodsPrice;
    }

    public void setMaxGoodsPrice(String maxGoodsPrice) {
        this.maxGoodsPrice = maxGoodsPrice;
    }

    public int getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(int merchantId) {
        this.merchantId = merchantId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getPlu() {
        return plu;
    }

    public void setPlu(String plu) {
        this.plu = plu;
    }

    public String getStallNo() {
        return stallNo;
    }

    public void setStallNo(String stallNo) {
        this.stallNo = stallNo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public int getMarketId() {
        return marketId;
    }

    public void setMarketId(int marketId) {
        this.marketId = marketId;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

}
